
{%include file="header.html" %}  
<div class="break"></div>
<link href="/css/base/user-center.css" rel="stylesheet" type="text/css" />
<div class="cont4 wrap bg_fff">
<div class="into">
<div class="fl">
	   <form method="get" action="" class="formbk4">
    <ul class="tab_tit2 clear">
    <!-- <li data-type="美食">找专辑</li>-->
     <li data-type="蜜友" class="hover">搜玩家</li>
	 <li data-type=""><a href="like.php">推荐给你的玩家</a></li>
         </ul>
    <div class="tab_cont2 clear">
		<input type="text" id="key" name="key" value="{%$g_show.key%}" class="input_text4"><input type="submit" value="搜&nbsp;索" class="btn">
		<br>
		性别<select name="sex" id="sex_select">
		<option value="">全部</option>
		<option value="1">男</option>
		<option value="0">女</option>
		</select>
		省<select name="province_id" id="province_select">
		<option value="">请选择</option>
		{%section name=count loop=$g_show.province%}
		<option value="{%$g_show.province[count].id%}">{%$g_show.province[count].name%}</option>
		{%/section%}
		</select>
		市<select id="city_select" name="city_id">
		<option value="">请选择</option>
		{%section name=count loop=$g_show.city_list%}
		<option value="{%$g_show.city_list[count].id%}">{%$g_show.city_list[count].name%}</option>
		{%/section%}
		</select> 
		 
		 等级<select id="verified_type" name="verified_type">
		<option value="">全部</option>
		<option value="220">达人</option>
		</select> 

		 喜欢的游戏
		 <select  name="topic_id"  id="topic_select" >
			<option value="">请选择</option>
			{%section name=count loop=$g_show.topic_list%}
			<option value="{%$g_show.topic_list[count].id%}">{%$g_show.topic_list[count].topic%}</option>
			{%/section%}
		</select> 
    </div>
   </form>	
 <p class="p1 spe clear">找到<span class="imp6">{%$g_show.count%}</span>相关的玩家</p>
		
		
		
		{%section name=count loop=$g_show.list%}
		<dl class="dl_list2 clear">
	   <dt><a target="_blank" href="/user/user_mblog.php?uid={%$g_show.list[count].uid%}"><img width="138" height="138" uid="{%$g_show.list[count].uid%}" class="name-card" alt="" src="http://tp1.sinaimg.cn/{%$g_show.list[count].uid%}/180/40001201876/1"></a></dt>
	   <dd>
	   <div data-uid="1373556942" class="followStatusPlace"><a nick="{%$g_show.list[count].user_nickname%}" data-uid="1373556942" class="abtn followBtn invite_user_search" href="#">邀请他</a></div>
	   <p class="p5">
	    <a target="_blank" class="name-card imp" uid="1373556942" href="/user/user_mblog.php?uid={%$g_show.list[count].uid%}">{%$g_show.list[count].user_nickname%}</a>
		

		{%if $g_show.list[count].verified_type == 0%}
		<i class=" icon_yellow_v" title="新浪个人认证"></i>
		{%/if%}
		{%if $g_show.list[count].verified_type > 0 and $g_show.list[count].verified_type <= 7%}
		<i class=" icon_blue_v" title="新浪机构认证"></i>
		{%/if%}
		{%if $g_show.list[count].verified_type == 220%}
		<i class=" icon_daren" title="新浪达人认证"></i>
		{%/if%}
	    </p>

	    <p class="p2">
		
		<a target="_blank" href="/user/user_mblog.php?uid={%$g_show.list[count].uid%}">TA的分享<strong class="imp">{%$g_show.list[count].count_mblog%}</strong></a><span class="imp2">|</span>
		
		{%if $g_show.list[count].count_album > 0%}
		<a target="_blank" href="/user/user_album.php?uid={%$g_show.list[count].uid%}">TA的专辑<strong class="imp">{%$g_show.list[count].count_album%}</strong></a><span class="imp2">|</span>
		{%/if%}

		{%if $g_show.list[count].count_love > 0%}
		<a target="_blank" href="/user/user_love.php?uid={%$g_show.list[count].uid%}">TA的喜欢<strong class="imp">{%$g_show.list[count].count_love%}</strong></a>
		{%/if%}

		<a target="_blank" href="http://weibo.com/{%$g_show.list[count].uid%}/fans">微博粉丝<strong class="imp">{%$g_show.list[count].detail_info.followers_count%}</strong></a>
		
	    
		<p class="p3">地区：
	    	   {%$g_show.list[count].location%}
	    	    </p>
	    <p class="p4">{%$g_show.list[count].desc%}</p>
	   </dd>
	  </dl>	
		{%/section%}

	  <p class="page page2 clear">{%$g_show.page_bar%}</p> 
  
   
   
  </div><!-- end of fl -->
 <div class="fr">
  <h2><span><a class="del_history_btn" href=""></a></span>热门搜索</h2>
 
     <p class="fond_a search_history">
  	  		
       		<!--<a title="湖南美食" href="./search.php?keyword=%E6%B9%96%E5%8D%97%E7%BE%8E%E9%A3%9F&amp;class=%E8%9C%9C%E5%8F%8B">湖南美食</a>-->
          </p>
     <p style="display:none" class="fond_a search_history_no_result tc">暂无搜索记录！</p><p>
   
 </p></div><!-- end of fr --></div><!-- end of into -->
</div>


<script>



$("#province_select").find("option[value='{%$g_show.province_id%}']").attr("selected",true);
$("#city_select").find("option[value='{%$g_show.city_id%}']").attr("selected",true);
$("#sex_select").find("option[value='{%$g_show.sex%}']").attr("selected",true);
$("#topic_select").find("option[value='{%$g_show.topic_id%}']").attr("selected",true);
$("#verified_type").find("option[value='{%$g_show.verified_type%}']").attr("selected",true);


$("#province_select").bind("change",function(e){

		var id = $("#province_select").val();
		
		$.getJSON("/interface/common/json_get_city_by_province.php?t=jsonp&id="+id+"&callback=?", function(json){
		if(typeof(json)!='undefined')
		{
			if(json.error ==1)
			{
				YOUXIXIU.MAIN.Tips.Show(json.errmsg);
			}
			else
			{
			
				$("#city_select").html(json.list_html);
			}

			
			
		}
	
	});	

});


		$(".invite_user_search").bind("click",function(e){
			var user_nickname = $(e.target).attr("nick");
			var content = encodeURIComponent("HI，@"+user_nickname+" 推荐给你一个游戏图库网站，有空的话过来看一眼吧。");
			var url = encodeURIComponent(location.href);
			var pic = "";
			window.open("http://service.weibo.com/share/share.php?url="+url+"&appkey=450135579&title="+content+"&pic="+pic+"&ralateUid=&language=zh_cn");
		});

		

</script>
{%include file="footer.html" %}   


